package com.wf.course.service;

import java.util.List;
import com.utils.page.PageBean;
import com.wf.course.model.member.CoinLog;

public interface ICoinLogService {
	/**
	 * 根据pageBean中封装的查询条件查询
	 * @param pageBean
	 * @return
	 */
	public void indexInfo(PageBean<CoinLog> pageBean);
	/**
	 * 添加或修改
	 * @param 
	 */
	public void saveOrUpdateCoinLog(CoinLog coinLog);
	/**
	 * 查询
	 * @param 
	 */
	public CoinLog queryCoinLogById(Integer id);
	/**
	 * 删除
	 * @param id
	 */
	public void deleteById(Integer id);
	
	/**
	 * 查询
	 */
	public List<CoinLog> queryCoinLogs();
	/**
	 * 根据订单编号，查花费的铜钱
	 */
	public CoinLog queryCoinLogByOrderCode(String  orderCode,Integer flowFlag);
	
	/**
	 * 订单退货，更新铜钱备注和删除标识
	 */
	public void updateCoinRemakById(String remarkInfo,Integer deleteFlag,Integer id);
	/**
	 * 订单退货，减去相应铜钱，更新铜钱备注
	 */
	public void updateCoinValueById(String coinValue ,String remarkInfo,Integer id);
	
	

}


